
.PHONY:all clean log

all:
	g++ -o serve serve.cpp -std=c++17 -ljsoncpp
	g++ -o client client.cpp -std=c++17 -ljsoncpp
	cp -f serve client ~/bin
log:
	cat /var/log/zmh/Netcal.log
clean:
	rm -rf serve client
	rm -rf ~/bin/serve ~/bin/client
	echo "" > /var/log/zmh/Netcal.log

